package com.atguigu.gmall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName: ItemApp
 * Package: com.atguigu.gmall
 * Description:
 *
 * @Author 刘轩
 * @Create 2023-08-22 9:50
 * @Version 1.0
 */



@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//取消数据源自动配置
@EnableDiscoveryClient
@EnableFeignClients
public class ItemApp {
 public static void main(String[] args) {
  SpringApplication.run(ItemApp.class, args);
 }
}